-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scaffolding jdwp for new JDWP debugger project #62
Scaffolding jdwp for new JDWP debugger project #62
Conversation
Hi ! The issue you're seeing is caused by incompatible versions of buck2 and 'prelude' module. It should go away if you rebase past 35f3021. |
BUCK
Outdated
@@ -0,0 +1,7 @@ | |||
# A list of available rules and their signatures can be found here: https://buck2.build/docs/api/rules/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file can be deleted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have deleted the file
projects/jdwp/BUCK
Outdated
@@ -0,0 +1,11 @@ | |||
jdwp_binary( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buck does not know what jdwp_binary
is, but you can tell it to build parts of python project with the following rules:
python_library
python_binary
python_test
(see "Examples" here)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made some changes, and the targets run without errors or any blocker
toolchains/BUCK
Outdated
@@ -0,0 +1,6 @@ | |||
load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain") | |||
|
|||
system_genrule_toolchain( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will not need this, we will need to setup python toolchain like this
Looks good ! I noticed that pyre does not work yet, but we can handle that later. Could you add the following copyright to BUCK and *.py files ?
|
* add buck2 * remove su * update makefile * initialize buck2 * add buck2 to root * add buck2 to root * Revert "merge auck2" This reverts commit 8d22386, reversing changes made to 238cfb0. * merge buck2 * add placeholder targets * update pyre configuration * delete file * remove buck2 and prelude with version conflicts * update placeholder targets * add a temp main py file * update tests target * update python toolchains * add copyright --------- Co-authored-by: Michael A. Wekesa <Michael A. Wekesa>
This pull request addresses the issue #53, however I'm currently facing an issue with running the placeholder targets e.g
buck2 run //projects/jdwp:main
. An error is thrown as